package com.topcoder.srm520;

public class SRMRoomAssignmentPhase {
	public int countCompetitors(int[] ratings, int K) {
		int n = 0;
		for (int i=1; i<ratings.length; i++) if (ratings[i] > ratings[0]) n++;
		return n / K;
	}
}
